
/*
'===============================================================================
'  Generated From - BLL_Type_Class.vbgen
'
'  This is a class type for a table in the DB. When created, the object represents 
'  one row in the table. There should be no need to add custom code to this class.
'  
'  Do not write custom business logic in this class as it will be overwritten 
'  next time the class is generated.
'
'  Version: 1.0
'  Date:	30/01/06
'  Summary: Default constructor and explicit constructor using parameters.
'===============================================================================
*/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace PlacementManager
{
    public class tblAgency
    {
		#region Members
		private int _AgencyID;
		private int _ParentAgencyID;
		private string _AgencyName;
		private string _StreetAddress;
		private string _PostalAddress;
		private string _TownCode;
		private string _Phone;
		private string _Mobile;
		private string _Fax;
		private string _Email;
		#endregion

		#region Properties
		
		public int AgencyID
		{
			get	{ return _AgencyID; }
			set	{ _AgencyID = value; }
		}
		
		public int ParentAgencyID
		{
			get	{ return _ParentAgencyID; }
			set	{ _ParentAgencyID = value; }
		}
		
		public string AgencyName
		{
			get	{ return _AgencyName; }
			set	{ _AgencyName = value; }
		}
		
		public string StreetAddress
		{
			get	{ return _StreetAddress; }
			set	{ _StreetAddress = value; }
		}
		
		public string PostalAddress
		{
			get	{ return _PostalAddress; }
			set	{ _PostalAddress = value; }
		}
		
		public string TownCode
		{
			get	{ return _TownCode; }
			set	{ _TownCode = value; }
		}
		
		public string Phone
		{
			get	{ return _Phone; }
			set	{ _Phone = value; }
		}
		
		public string Mobile
		{
			get	{ return _Mobile; }
			set	{ _Mobile = value; }
		}
		
		public string Fax
		{
			get	{ return _Fax; }
			set	{ _Fax = value; }
		}
		
		public string Email
		{
			get	{ return _Email; }
			set	{ _Email = value; }
		}
		
		#endregion

        #region Constructors
		/// <summary>
        /// Explicit constructor using parameters.
        /// </summary>
        public tblAgency(int AgencyID, int ParentAgencyID, string AgencyName, string StreetAddress, string PostalAddress, string TownCode, string Phone, string Mobile, string Fax, string Email)
        {
			 _AgencyID = AgencyID;
			 _ParentAgencyID = ParentAgencyID;
			 _AgencyName = AgencyName;
			 _StreetAddress = StreetAddress;
			 _PostalAddress = PostalAddress;
			 _TownCode = TownCode;
			 _Phone = Phone;
			 _Mobile = Mobile;
			 _Fax = Fax;
			 _Email = Email;

        }
		
		/// <summary>
        /// Default constructor.
        /// </summary>
		public tblAgency()
        {

        }
		#endregion
	}
}
